package com.sc.VenusQueryBeta.adapter;

import android.widget.GridView;

import com.chad.library.adapter.base.BaseViewHolder;
import com.sc.VenusQueryBeta.R;
import com.sc.VenusQueryBeta.model.bean.home.KeyWordListBean;

import java.util.List;

/**
 * Created by Administrator on 8/10/2018.
 *
 */

public class SearchAdapter extends BaseCompatAdapter<KeyWordListBean.DataBean, BaseViewHolder> {
    private GridView gridView;
    public String string;
    private OnItemClickListener mlistener;


    public SearchAdapter(List<KeyWordListBean.DataBean> data, int item_keyword) {
        super(item_keyword, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, KeyWordListBean.DataBean item) {
        helper.setText(R.id.tv_hot,item.getSystemKeywordContent());
    }

}
